




function bindPage(){
	$("#flowPage span").click(function(){
		$("#flowPage span").unbind();
		var page = $(this);
		alert("分页");
		$("#sharemessageList").load("sharemessageList.html","",function(){
			bindPage();
			bindcaina();
			bindhulue();
			
		});
	});
}

//绑定采纳按钮
function bindcaina(){
	$("#sharemessageList .caina").click(function(){
		alert("采纳");
	});
}
//绑定忽略按钮
function bindhulue(){
	$("#sharemessageList .hulue").click(function(){
		alert("忽略");
	});
}



function bindtab(){ 
	$("#tab li").click(function(){
		var $li = $(this);
		var $sli = $li.siblings();
		var c = $li.attr("tabcontent");
		var sc = $sli.attr("tabcontent");

		$li.addClass("on");
		$sli.removeClass("on");
		$("#"+sc).css("display","none");
		$("#"+c).css("display","block");
	});
}


function bindshowall(){
	$("#showall").click(function(){
		$("#showtitle").html("为所有你关注和关注您");
		
	});
}
